package cn.iocoder.yudao.module.ad.controller.admin.channel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 广告渠道新增/修改 Request VO")
@Data
public class AdChannelSaveReqVO {

    @Schema(description = "渠道ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32728")
    private Long id;

    @Schema(description = "渠道名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "渠道名称不能为空")
    private String name;

    @Schema(description = "渠道编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "渠道编码不能为空")
    private String code;

}